﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MaxStudio.Concrete.DBUtility
{
    #region Package Material
    public enum InnerBagPrintingParamPrintingModel
    {
        single = 0,
        multiple = 1
    }

    public enum InnerBagInOutSiteType
    {
        InjectionSite = 0,
        AdminSite = 1,
        None = 2
    }

    public enum OtherPackageType
    {
        Carton = 0,
        CartonWrap = 1,
        Foil = 2,
        AdminSite = 3,
        InjectionSite = 4
    }

    public enum PVCFlagEnum
    {
        NonPVC = 0,
        PVC = 1
    }

    public enum GlucoseFlagEnum
    {
        NonGlucose = 0,
        Glucose = 1
    }
    #endregion

    public enum TestResultEnum
    {
        Passed,
        Failed,
        NA
    }

    public enum StatusEnum
    {
        inactive = 0,
        active
    }

    public enum AVIVABagComponentTypeEnum
    {
        Diaphragm = 1,
        LongPipe = 2,
        ShortPipe = 3,
        Tap = 4
    }

    #region Test

    public enum TestItemTypeEnum
    {
        RawMaterial_of_Micro = 0,
        RawMaterial_of_Chem,
        Product_Micro,
        Product_Chem,
        Daily_Water,
        Non_WFI,
        Environment_Air,
        Compressed_Air,
        Stability_Study_Micro,
        Stability_Study_Chem,
        Product_Micro_Special,
        Product_QA,
        Stability_Study_Micro_Special,
        //Add by Scott 2011-12-08 for AVIVA (Start)
        AVIVAProduct_Chem,
        AVIVAProduct_Micro,
        //Add by Scott 2011-12-08 for AVIVA (End)

        //Add By Scott 2012-04-11 for AVIVA Phase 2 (Start)
        AVIVAFilm,
        //Add By Scott 2012-04-11 for AVIVA Phase 2 (End) 
        Daily_Chem_Water,
    }

    public enum ResultTypeEnum
    {
        quantitative = 0,
        qualitative
    }

    public enum LimitTypeEnum
    {
        Action = 0,
        Alert,
        Expiry
    }

    public enum VolumeEnum
    {
        NA = 0,  //(not applicable), 
        Small,    //(less than or equal with 100ml), 
        Large     //(greater than 100ml)
    }

    public enum PlaceTypeEnum
    {
        Daily_Water = 0,
        Environment_Air,
        Compressed_Air,
        Daily_Chem_Water,
    }

    public enum TesterLabEnum
    {
        Micro = 0,
        Chemical,
        Critical_System,
        QA,
    }

    public enum StageEnum
    {
        Initial = 0,
        InProcess,
        Final,
        AVIVAStep1,
        AVIVAStep2,
    }

    /// <summary>
    /// 绑定下拉列表的表名
    /// 或根据ID取显示字段
    /// </summary>
    public enum TableNameEnum
    {
        RawMaterial = 0,
        Product,
        RawMaterialBatch,
        ProductBatch,
        TestPlace_DailyWater,
        TestPlace_DailyChemWater,
        TestPlace_EnvironmentAir,
        TestPlace_CompressedAir,
        AVIVAProduct,
        AVIVARawMaterial,
    }

    public enum FinalResultEnum
    {
        Alerted = 'A',
        Passed = 'P',
        Failed = 'F',
    }

    public enum ExpiryLimitApplicableEnum
    {
        No = 0,
        Yes,
    }

    public enum NeedConfidenceLimitEnum
    {
        No = 0,
        Yes,
    }

    public enum TestStateEnum
    {
        Static = 0,
        Dynamic,
    }

    public enum TestLimitCalTaskStatusEnum
    {
        Requested = 0,
        InProcess,
        Complated,
    }

    public enum TestLimitCalTaskDtlExceptionStringEnum
    {
        testLimitCalTaskDtl_exception_NoTestResult = 0,
        testLimitCalTaskDtl_exception_NoValidTestResult,
    }
    #endregion

    #region StabilityStudy
    public enum SS_TypeEnum
    {
        SpeedUp,
        LongTerm,
        HighTemp,
        Illumination
    }

    public enum SS_LongTerm_DurationEnum
    {
        Six = 6,
        ThirtySix = 36,
    }

    public enum Six_MonthNoEnum
    {
        Zero = 0,
        One,
        Two,
        Three,
        Four,
        Five,
        Six,
    }

    public enum ThirtySix_MonthNoEnum
    {
        Zero = 0,
        Three = 3,
        Six = 6,
        Nine = 9,
        Twelve = 12,
        Eighteen = 18,
        TwentyFour = 24,
        Thirty = 30,
        ThirtySix = 36,
    }

    #endregion

    #region Department

    public enum Usage
    {
        Exception = 0,
        Calibration = 1,
        Validation = 2,
        Change = 3
    }


    #endregion

    #region AVIVA Film
    public enum AVIVAResultEnum
    { 
        Passed =0,
        Failed = 1,
    }

    #endregion
    #region Instrument

    public enum InstrumentStatus
    {
        In_use = 0,
        Not_in_use = 1,
        Sendout = 2,
        Discarded = 3,
        // Add for QIMS bug fix   2012-03-15 Scott
        NoNeed=4,

    }

    #endregion


    #region InstrumentCalibrationResult

    public enum ServiceTypeEnum
    {
        Sending_out,
        Onsite_service,
        NA
    }

    public enum CalibrationType
    {
        Internal = 0,
        External = 1
    }

    public enum CalibrationResult
    {
        Fail = 0,
        Pass = 1
    }
    public enum CalibrationRequiredEnum
    {
        No = 0,
        Yes = 1
    }
    #endregion


    #region Product

    public enum ProductRawMaterialType
    {
        quantitive = 0,
        qualitative = 1

    }
    public enum ProductStatus
    {
        inactive = 0,
        active = 1

    }



    //public enum OtherPackageType
    //{
    //    Carton = 0,
    //    CartonWrap = 1,
    //    Foil=2,
    //    AdminSite=3,
    //    InjectionSite=4

    //}
    #endregion

    #region 	Validation

    public enum NeedRevalidationEnum
    {
        No = 0,
        Yes = 1

    }

    public enum ValidationRecordStatus
    {
        Uncompleted = 0,
        Completed = 1,
        Cancelled = 2

    }

    public enum ValidationRecordCompletedEnum
    {

        No = 0,
        Yes = 1,
        NA = 2
    }

    #endregion

    #region Change

    public enum ChangeRecord_Status
    {
        Requested = 1,
        Evaluation_Completed = 2,
        Closed = 3

    }


    public enum NeedQualificationEnum
    {
        No = 0,
        Yes = 1
    }
    #endregion

    #region BatchException

    public enum BatchException_Status
    {
        closed = 0,
        open = 1

    }

    #endregion

    #region BatchException

    public enum DefectProcedureEnum
    {
        Printing,
        Filling,
        OverpouchInner,
        OverpouchOver,
        Packing
    }
    public enum DefectTypCauseEnum
    {
        Material,
        Manual,
        Sample

    }


    #endregion


}
